
<template>
  <div class="mock-container">
    <g-title title="mock数据1" line class="tit" color="#EB2415" />
    <g-list
      v-for="item in list"
      :key="item.id"
      double
      :src="item.avatar"
      :title="item.title"
      :date="item.date"
      :ping="item.ping"
      :zan="item.zan"
    />
  </div>
</template>

<script>
import api from '@/api'
export default {
  data() {
    return {
      list: []
    }
  },
  created() {
    api.personal.getObj().then(res => {
      console.log('res: ', res)
      this.list = res.data
    }).catch(e => {
      console.log('e: ', e)
    })
  },
  methods: {

  }
}
</script>

<style>

</style>
